@model InvoiceProject.Models.InvoiceCreateEditViewModel
@using (Html.BeginForm())
{

    var inv = @ViewData;
    @Html.HiddenFor(m => m.Invoice);
   
<ul data-role="listview" data-inset="true">
    <li data-role="list-divider">Business Information</li>
    <li data-role="fieldcontain">
        @Html.LabelFor(m => m.NewInvoiceItem.Description, new { @class = "ui-input-text" })
        @Html.EditorFor(m => m.NewInvoiceItem.Description)
        @Html.ValidationMessageFor(m => m.NewInvoiceItem.Description)
    </li>
    <li data-role="fieldcontain">
        @Html.LabelFor(m => m.NewInvoiceItem.Rate)
        @Html.EditorFor(m => m.NewInvoiceItem.Rate)
        @Html.ValidationMessageFor(m => m.NewInvoiceItem.Rate)
    </li>
    <li data-role="fieldcontain">
        @Html.LabelFor(m => m.NewInvoiceItem.Quantity)
        @Html.EditorFor(m => m.NewInvoiceItem.Quantity)
        @Html.ValidationMessageFor(m => m.NewInvoiceItem.Quantity)
    </li>
             <input type="submit" value="Create" />

</ul>   }